package org.zachary.agent.domain.aggregate_model.user.event;

import org.springframework.context.ApplicationEvent;
import org.zachary.agent.domain.aggregate_model.user.User;

public class UserLoggedEvent extends ApplicationEvent {
    public UserLoggedEvent(Object source) {
        super(source);
    }

    public User getUser() {
        return (User) getSource();
    }
}
